package edu.whu;

/**
 * @author guanruwang
 * @date 2023/10/1$
 */
public class Main {
    public static void main(String[] args) throws Exception {
        MyApplicationContext myApplicationContext = new MyApplicationContext("application.xml");
        User user = (User) myApplicationContext.getBean("User");
        System.out.println(user.getId() + "   " + user.getName());
    }
}